﻿<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="GradeListControl.ascx.vb" Inherits="SISSAT.WebDevelopment.Shared.UserControls.GradeListControl" %>
<%@ Register TagPrefix="sissat" TagName="DropDownListControl" Src="/Shared/UserControls/DropDownListBaseControl.ascx" %>
<sissat:DropDownListControl ID="GroupDropDownList" runat="server" LabelText="" AutoPostBack="true" />
<asp:Repeater ID="GradeRepeater" runat="server">
    <ItemTemplate>
        <div>
            <div class="label">
                <asp:HiddenField ID="TypeIdHiddenField" runat="server" Value=<%#Eval("ExaminationTypeId")%> />
                <asp:HiddenField ID="ExamIdHiddenField" runat="server" Value="" />
                <asp:HiddenField ID="GradeHiddenField" runat="server" Value="0.00" />
            </div>
            <div class="data">
                <div class="input">
			        <div class="label"><%#Eval("Name")%></div>
			        <div class="data">
                        <asp:TextBox ID="GradeTextBox" runat="server" CssClass="minitextbox readonly alignr" ToolTip=<%#Eval("Description")%>></asp:TextBox>%
			        </div>
		        </div>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
<asp:Panel ID="ButtonPanel" runat="server" CssClass="input">
<div class="label"></div>
<div class="data">
    <div class="error"><%=ErrorMessage%></div>
    <div class="buttons">
	    <asp:Button ID="SubmitButton" runat="server" CssClass="button" Text="Save Changes" ToolTip="Save Changes" />
    </div>
</div>
</asp:Panel>
